/*------------- #W-PLAYLIST --------------*/



.w-playlist {

	li {
	  padding: 13px 10px;
	  transition: all .3s ease;
	  cursor: pointer;

	  &:first-child {
		padding-top: 25px;
	  }

	  &:last-child {
		padding-bottom: 25px;
	  }

	  & > * {
		display: inline-block;
		vertical-align: middle;
	  }

	  &:hover {
		background-color: #fafbfd;

		.overlay {
		  opacity: 1;
		}

		.play-icon {
		  opacity: 1;
		}

		time {
		  opacity: 0;
		}

		.more {
		  opacity: 1;
		}
	  }
	}

  .play-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	fill: $white-color;
	color: $white-color;
	width: 14px;
	height: 16px;
	opacity: 0;

	svg {
	  width: 16px;
	  height: 16px;
	}
  }

  .composition-time {
	position: relative;
	float: right;
	font-size: 11px;
	font-weight: 500;
  }

  time {
	transition: all .3s ease;
	margin-right: 10px;
  }

  .more {
	position: absolute;
	left: 0;
	opacity: 0;
	top: 0;
  }

  .more-dropdown {
	li {
	  padding: 0;

	  &:hover a {
		color: $green;
	  }
	}
  }

  &.without-cover {

	.overlay {
	  display: none;
	}

	.playlist-thumb img {
	  display: none;
	}

	.play-icon {
	  opacity: 1;
	  fill: #515365;
	}

	li:hover {
	  .play-icon {
		fill: $green;

	  }
	}
  }
}

.playlist-thumb {
  position: relative;
  width: 34px;
  height: 34px;
  border-radius: 3px;
  overflow: hidden;
  margin-right: 12px;
}

.composition-name {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: $heading-color;
}

.composition-author {
  display: block;
  font-size: 11px;
  color: $body-font-color;
}

.playlist-popup-table {
  width: 100%;

  td {
	padding: 25px 12px;

	&:first-child {
	  padding-left: 30px;
	}

	&:last-child {
	  padding-right: 30px;
	}
  }

  thead {
	background-color: rgba(43,45,59,.6);

	th {
	  font-size: 9px;
	  font-weight: 700;
	  padding: 12px;
	  color: #9a9fbf;

	  &:first-child {
		padding-left: 25px;
	  }

	  &:last-child {
		padding-right: 25px;
	  }
	}

  }

  tbody tr {
	&:nth-child(odd) {
	  background-color: rgba(43,45,59,.8);
	}

	&:nth-child(even) {
	  background-color: rgba(43,45,59,.6);
	}

	&:hover {
	  .play-icon {
		fill: $white-color;
	  }
	}
  }

  .play-icon {
	fill: $icon-color;

	svg {
	  width: 23px;
	  height: 23px;
	}
  }

  .playlist-thumb {
	margin-right: 0;
  }

  .composition-name {
	color: $white-color;
	font-size: 14px;
  }

  .composition-author {
	font-size: 12px;
  }

  .album-composition, .release-year, .composition-time {
	font-weight: 500;
	font-size: 12px;
	color: $white-color;
  }

  .release-year, .composition-time, .released, .duration, .spotify, .remove {
	text-align: center;
  }

  .composition-icon {
	color: $green;
	font-size: 22px;
  }

  .remove-icon {
	fill: $icon-color;

	svg {
	  width: 20px;
	  height: 20px;
	}

	&:hover {
	  fill: $primary-color;
	}
  }
}